namespace JGSY.CMS.LowCode.Platform.Infrastructure.Configuration
{
    /// <summary>
    /// JWT配置
    /// </summary>
    public class JwtSettings
    {
        /// <summary>
        /// JWT密钥
        /// </summary>
        public string Key { get; set; } = string.Empty;

        /// <summary>
        /// JWT发行者
        /// </summary>
        public string Issuer { get; set; } = string.Empty;

        /// <summary>
        /// JWT受众
        /// </summary>
        public string Audience { get; set; } = string.Empty;

        /// <summary>
        /// JWT过期时间（分钟）
        /// </summary>
        public int ExpireMinutes { get; set; } = 60;
    }
}
